<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-depositOrder-edit" th:object="${depositOrder}">
            <input id="depositId" name="depositId" th:field="*{depositId}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">寄放订单号：</label>
				<div class="col-sm-8">
					<input id="depositOrderNum" name="depositOrderNum" th:field="*{depositOrderNum}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">寄放用户：</label>
				<div class="col-sm-8">
					<input id="userId" name="userId" th:field="*{userId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">寄放开始时间：</label>
				<div class="col-sm-8">
					<input id="startTime" name="startTime" th:field="*{startTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">寄放结束时间：</label>
				<div class="col-sm-8">
					<input id="endTime" name="endTime" th:field="*{endTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">寄放时长：</label>
				<div class="col-sm-8">
					<input id="depositLen" name="depositLen" th:field="*{depositLen}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">寄放宠物：：</label>
				<div class="col-sm-8">
					<input id="petId" name="petId" th:field="*{petId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">订单创建日期：</label>
				<div class="col-sm-8">
					<input id="createDate" name="createDate" th:field="*{createDate}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">支付金额：</label>
				<div class="col-sm-8">
					<input id="priceTotal" name="priceTotal" th:field="*{priceTotal}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">支付状态：</label>
				<div class="col-sm-8">
					<input id="payState" name="payState" th:field="*{payState}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">宠物屋地址：</label>
				<div class="col-sm-8">
					<input id="macId" name="macId" th:field="*{macId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">是否有运输：</label>
				<div class="col-sm-8">
					<input id="isYs" name="isYs" th:field="*{isYs}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">运输开始时间：</label>
				<div class="col-sm-8">
					<input id="ysTime" name="ysTime" th:field="*{ysTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">是否寄养：</label>
				<div class="col-sm-8">
					<input id="isJy" name="isJy" th:field="*{isJy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">寄养开始时间：</label>
				<div class="col-sm-8">
					<input id="jstartTime" name="jstartTime" th:field="*{jstartTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">寄养结束时间：</label>
				<div class="col-sm-8">
					<input id="jendTime" name="jendTime" th:field="*{jendTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">送回方式 1 自取，2 中转，3 专车送回：</label>
				<div class="col-sm-8">
					<input id="sType" name="sType" th:field="*{sType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">订单状态：0 进行中，1 已完成，2 已取消：</label>
				<div class="col-sm-8">
					<input id="orderState" name="orderState" th:field="*{orderState}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">：</label>
				<div class="col-sm-8">
					<input id="delFlag" name="delFlag" th:field="*{delFlag}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "gxgw_modules/depositOrder";
		$("#form-depositOrder-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-depositOrder-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
